<?php

require('init.php');
print_r($conn_db2);
//$contest = type_contest("contest", "80", $conn_db2);

//$conn_db2 = setup_database_connection_db2('jury');
//echo (db2());

/*$time = time();
//echo "time:".$time;



// función para sumar minutos 
function add_datex($givendate,$minus) 
{
$cd = strtotime($givendate);
$newdate = date('Y-m-d H:i:s', mktime(date('H',$cd),
    			date('i',$cd)+$minus, date('s',$cd), date('m',$cd),
    			date('d',$cd), date('Y',$cd)));
return $newdate;
}

//$givendate = $cdata['endtime'];
$givendate = "2012-02-23 15:52:00";
echo "givendate: ".$givendate." ";
$date_add = add_datex($givendate,"2");
echo "time_4: ".$date_add;
$st=strtotime($date_add);
echo "strtotime: ".$st;

if($time == $st)
	echo $time." ".$st." ";*/
?>
